<%@ page import="java.util.List" %>
<html>
	<head></head>
		<title>ManagerUI</title>
	<body>
		<h3>Instance Info</h3>
		
		

		
		<% List<String> instainceInfoList = (List)request.getAttribute("instanceInfo");
		for( String instanceInfo : instainceInfoList ){
		%>
		
		<br><%=instanceInfo%>
		
		<%
		}
		%>	
	
		<hr>
		
		<h3>Manually Change Worker Number</h3>
		<form name="input" action="" method="get">
		Change Number of workers to: <input type="number" name="workerNumber">
		<input type="submit" value="Submit">
		</form>
		<hr>
		
		<h3>AutoScale Settings</h3>
		
		<form name="input" action="" method="get">
		Set Upper Threshold to : <input type="number" name="upperThreshold">
		<input type="submit" value="Submit">
		</form>
		
		<form name="input" action="" method="get">
		Set Upper Threshold to : <input type="number" name="lowerThreshold">
		<input type="submit" value="Submit">
		</form>
		
		<form name="input" action="" method="get">
		Set Grow Ratio to : <input type="number" name="growRatio">
		<input type="submit" value="Submit">
		</form>
		
		<form name="input" action="" method="get">
		Set Shrink Ratio to : <input type="number" name="shrinkRatio">
		<input type="submit" value="Submit">
		</form>
		
		
	</body>
</html>